<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <title>TODO supply a title</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
    </head>
    <body>
        <div>
            <a href="https://open.weixin.qq.com/connect/oauth2/authorize?appid=<?php echo C('APP_ID');?>&redirect_uri=<?php echo urlencode(DREAM_URL . '/index.php?s=/Support/doSupport.html');?>&response_type=code&scope=snsapi_userinfo&state=<?php echo ($dream["dream_id"]); ?>#wechat_redirect">gogogo</a>
        </div>
    </body>
</html>